package cn.wolfcode.luowowo2.search.service;

import cn.wolfcode.luowowo2.search.query.SearchQueryObject;
import cn.wolfcode.luowowo2.search.template.StrategyTemplate;
import cn.wolfcode.luowowo2.search.vo.StatisVO;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * Created by Albert on 2019/7/15.
 */
public interface IStrategySearchService {
    void createIndex();

    void save(StrategyTemplate template);

    List<Map<String,Object>> queryThemeCommends();

    List<StatisVO> querythemeCondition(int conditionType);

    Page<StrategyTemplate> query(SearchQueryObject qo);

    Page<StrategyTemplate> queryStrategy(SearchQueryObject qo);
}
